<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>母亲节快乐 | 永远爱您</title>
    <style>
        /* 全局样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', '微软雅黑', cursive; /* 使用手写风格字体 */
        }

        body {
            background: linear-gradient(135deg, #ffe6e6, #ffb3d9); /* 粉红渐变背景 */
            min-height: 100vh;
            padding: 20px;
        }

        /* 主容器 */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            animation: fadeIn 1.5s ease-in; /* 页面淡入动画 */
        }

        /* 标题样式 */
        .header {
            text-align: center;
            padding: 40px 0;
            position: relative;
        }

        .title {
            font-size: 3.5rem;
            color: #ff3366; /* 主标题色 */
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
            letter-spacing: 2px;
            margin-bottom: 15px;
        }

        /* 心形装饰 */
        .heart {
            color: #ff3366;
            animation: heartbeat 1.2s infinite; /* 心跳动画 */
        }

        /* 祝福卡片 */
        .card {
            background: rgba(255,255,255,0.9);
            border-radius: 15px;
            padding: 30px;
            margin: 20px auto;
            box-shadow: 0 8px 30px rgba(255,51,102,0.1);
            max-width: 800px;
            transition: transform 0.3s;
        }

        .card:hover {
            transform: translateY(-5px); /* 悬停浮动效果 */
        }

        /* 图片画廊 */
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            padding: 20px;
        }

        .photo-frame {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            aspect-ratio: 1;
            transition: transform 0.3s;
        }

        .photo-frame img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(20%);
            transition: 0.4s;
        }

        .photo-frame:hover img {
            transform: scale(1.05);
            filter: grayscale(0);
        }

        /* 关键帧动画 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes heartbeat {
            0% { transform: scale(1); }
            50% { transform: scale(1.15); }
            100% { transform: scale(1); }
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .title {
                font-size: 2.5rem;
            }
            .card {
                margin: 15px;
                padding: 20px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 标题区 -->
        <header class="header">
            <h1 class="title">
                母亲节快乐<span class="heart">❤️</span>
            </h1>
            <p style="color: #666; font-size: 1.2rem;">
                —— 致世界上最棒的妈妈
            </p>
        </header>

        <!-- 祝福卡片 -->
        <div class="card">
            <h2 style="color: #ff3366; margin-bottom: 15px;">亲爱的妈妈：</h2>
            <p style="line-height: 1.8; font-size: 1.1rem;">
                祝您健康常驻、笑容常在，<br>
                万事顺遂、白发少少、幸福多多，<br>
                祝您母亲节快乐！<br>
                <span style="display: block; text-align: right; margin-top: 15px;">—— 蒋恒志、蒋明翰</span>
            </p>
        </div>

        <!-- 图片展示区 -->
        <div class="gallery">
            <!-- 替换以下图片路径为实际图片地址 -->
            <div class="photo-frame">
                <img src="images/mom1.jpg" alt="母女时光">
            </div>
            <div class="photo-frame">
                <img src="images/mom2.jpg" alt="家庭合影">
            </div>
            <div class="photo-frame">
                <img src="images/mom3.jpg" alt="美好回忆">
            </div>
            <!-- 可继续添加更多图片 -->
        </div>
    </div>
</body>
</html>